

//
//  ContentViewController.m
//  TabBar框架
//
//  Created by MyMac on 15/9/24.
//  Copyright (c) 2015年 tongfang. All rights reserved.
//

#import "ContentViewController.h"
#import "AViewController.h"
@interface ContentViewController ()

@end

@implementation ContentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title=@"content";
    self.view.backgroundColor=[UIColor brownColor];

}
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    AViewController*vc=[[AViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
    


}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
